import request from '@/utils/request';
import { formatParams } from '@/utils'
import api from '@/api'

/**
 * 日志列表
 */
export const getList = async (data) => {
  const params = formatParams(data);
  return request(api.logs, {
    params,
  });
}
